import request from "../utils/request";

function loginFn(params) {
  return request({
    url: '/admin/login',
    method: 'POST',
    data: params
  })
}

export default loginFn
